package com.loie.xcx.util;

public class ErrorMessage {
	// 标识
	public final static String SUCCESS = "OK";
	public final static String ERROR = "ERROR";

	// 系统
	public final static String ERR_SYSTEM = "系统未知错误";
	public final static String ERR_DB = "数据库错误";
	public final static String ERR_CANT_PARSE = "报文无法解析";
	public final static String ERR_INVAILD_REQ = "无效的请求类型";
	public final static String ERR_DEAL_BUSINESS = "请求处理异常";

	public final static String ERR_LICENSE = "准入信息异常";
	public final static String ERR_GETTOEKN = "获取Token异常";
	public final static String ERR_GETTOEKN_LIMIT = "获取Token次数超过限制";
	public final static String ERR_DEAL_MSG_DATA = "业务数据处理异常";
	public final static String ERR_FILE_PATH = "文件目录异常";
	public final static String ERR_FILE_DEAL = "文件处理异常";

	// 校验
	public final static String ERR_CHK_MSG_NOT_NULL = "请求报文不能为空";
	public final static String ERR_CHK_NOT_NULL = "必填项不能为空";
	public final static String ERR_CHK_BYD_LEN = "数据项长度错误";
	public final static String ERR_CHK_NOT_NUM = "数据项非数字";
	public final static String ERR_CHK_DATE_FORMAT = "数据项日期格式错误";
	public final static String ERR_CHK = "其他检查错误"; // 其他检查错误
	public final static String ERR_CHK_ITEM_DUPLICATE = "0028"; // XML标签重复
	public final static String ERR_CHK_XML_FORMAT = "0029"; // XML格式错误
	public final static String ERR_CHK_TOKEN = "0030"; // 授权码错误
	public final static String ERR_CHK_MSGCODE = "0031"; // 非授权的交易代码
	public final static String ERR_CHK_SEQ = "交易流水号异常"; // 交易请求ID错误
	public final static String ERR_CHK_SEQ_DUPLICATE = "交易流水号重复"; // 交易请求ID错误

	public final static String ERR_CHK_MD5_INVAILD = "签名异常";
	public final static String ERR_CHK_MSG_DATA_PARSE = "业务数据无法解析";
	public final static String ERR_CHK_PARM = "参数异常";

	public final static String ERR_BD_DATA_NULL = "查询数据为空";

	//阿里云
	public final static String ERR_ALIYUN_RRESULT_NULL = "阿里云接口返回为空";
	public final static String ERR_ALIYUN_CLIENT = "阿里云服务连接异常";
	public final static String ERR_GETFILE_ERROR = "获取文件失败";
	public final static String ERR_FILE_DEAL_ZIP = "只能传递ZIP包";
	public final static String ERR_FILE_DEAL_ONEZIP = "只能传递一个ZIP包";

	public final static String ERR_ATTACHMENT = "上传附件异常";
}
